<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="save" class="custom-form" method="post">
		<input type="hidden" name="id" data-th-value="${model.id}">
		<p><input class="easyui-combobox" name="tbClass.id" th:value="${model.tbClass==null?null:model.tbClass.id}" data-options="
				label:'班级' ,
				width:220,
				labelAlign:'right', 
				url:'banji/combo',
				valueField:'id',
				textField:'name' , 
				editable: false,
				panelWidth:200,
				paenHeight:150,
				required: true
			"></p>
		<p><input class="easyui-textbox" name="username" th:value="${model.username}" data-options="width:220, label:'学号',labelAlign:'right',required:true"></p>
		<p><input class="easyui-textbox" name="name" th:value="${model.name}" data-options="width:220, label:'姓名',labelAlign:'right',required:true"></p>
		<p><input class="easyui-combobox" name="sex" th:value="${model.sex}" data-options="editable:false,width:220, label:'性别',labelAlign:'right',required:true,data:[{value:'男',text:'男'},{value:'女',text:'女'}]"></p>
		<p><input class="easyui-datebox" name="born" th:value="${model.born}" data-options="editable:false,width:220, label:'生日',labelAlign:'right'"></p>
		<p><input class="easyui-textbox" name="job" th:value="${model.job}" data-options="width:220, label:'职务',labelAlign:'right'"></p>
	</form>
</body>
</html>